package com.jl.jlapp.mvp.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

import com.jl.jlapp.R;
import com.jl.jlapp.utils.loader.GlideImageLoader;
import com.youth.banner.Banner;
import java.util.ArrayList;
import java.util.List;

public class MainActivity
  extends AppCompatActivity
{
  Banner banner;
  List images;
  TextView textView;
  
  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(R.layout.activity_main);
    this.textView.setOnClickListener(new OnClickListener()
    {
      public void onClick(View paramAnonymousView)
      {
        Intent intent = new Intent(MainActivity.this, MyOrderListActivity.class);
        MainActivity.this.startActivity(intent);
      }
    });
    this.images = new ArrayList();
//    this.images.add(R.drawable.img_banner_demo);
    this.images.add(R.drawable.img_steamed);
    this.images.add(R.drawable.img_dessert);
    this.images.add(R.drawable.img_steamed);
    this.images.add(R.drawable.img_dessert);
    this.images.add(R.drawable.img_steamed);
    this.banner = ((Banner)findViewById(R.id.banner));
    this.banner.setImageLoader(new GlideImageLoader());
    this.banner.setImages(this.images);
    this.banner.start();
  }
}


/* Location:              /Users/davidzhang/Documents/decompileApk/jlfood-dex2jar.jar!/com/jl/jlapp/mvp/activity/MainActivity.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */